package com.dana.system.domain.exam;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName("tb_exam_question")
public class ExamQuestion extends BaseEntity {
    /**
     * 主键id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long examQuestionId;
    /**
     *竞赛id
     */
    private Long examId;
    /**
     * 题目id
     */
    private Long questionId;
    /**
     * 顺序 1表示竞赛第一题 2表示第二题
     */
    private Integer questionOrder;
}
